package com.one.blocks.common.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author linfuxin Created on 2022-02-14 10:42:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebResponse<T> implements Serializable {

    /**
     * 响应码
     */
    private int code;

    /**
     * 错误提示
     */
    private String msg;

    /**
     * 响应数据
     */
    private T data;

}
